/*
 * @Description: 
 * @Author: 周永强
 * @Date: 2022-12-21 21:08:31
 * @LastEditTime: 2022-12-23 15:50:35
 * @LastEditors:  
 */
import express from "express";
import { register, login, logout } from "../controllers/auth.js";

const router = express.Router();

router.post("/register", register);
router.post("/login", login);
router.post("/logout", logout);

export default router;
